package com.cp.yn.fragment

import android.os.Bundle
import android.view.View
import com.common.base.base.BaseFragment
import com.cp.yn.databinding.FragmentOrderBinding

/**
 * 三疯
 * *************************
 *
 * *************************
 */
class OrderFragment : BaseFragment<FragmentOrderBinding>() {

    override fun viewBinding(): FragmentOrderBinding {
        return FragmentOrderBinding.inflate(layoutInflater)
    }

    override fun initView(view: View, savedInstanceState: Bundle?) {
        super.initView(view, savedInstanceState)
        viewBinding.apply {
            refreshLayout.setOnRefreshListener { refreshlayout ->
                refreshlayout.finishRefresh(1000)
            }
            refreshLayout.setOnLoadMoreListener { refreshlayout ->
                refreshlayout.finishLoadMore(1000)
            }


        }
    }
}